﻿<%@ Page Language="C#" Debug=true AutoEventWireup="true" CodeFile="chaxun.aspx.cs" Inherits="student_chaxun" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 750px;
            height: 100px;
        }
        .style2
        {
            width: 214px;
        }
        .style3
        {
            width: 114px;
        }
        .style4
        {
            width: 127px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div>
    <div style="background-image: url('/bookWEB/images/NFLDfog_ZH-CN4846953507_1920x1080.jpg'); width: auto; height: 567px;">
           

            <table align="center" class="style1">
                <tr>
                    <td>
                        检索方式：</td>
                    <td class="style2">
                        &nbsp;</td>
                    <td class="style3">
                        &nbsp;</td>
                    <td class="style4">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td>
                        <asp:DropDownList ID="DropDownList1" runat="server" Height="35px" Width="200px" 
                            DataSourceID="SqlDataSource1" DataTextField="BI_TYPE" 
                            DataValueField="BI_TYPE">
                            <asp:ListItem></asp:ListItem>
                        </asp:DropDownList>
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                            ConnectionString="<%$ ConnectionStrings:tsmanagerConnectionString %>" 
                            SelectCommand="SELECT [BI_TYPE] FROM [BookInformation]" 
                            onselecting="SqlDataSource1_Selecting"></asp:SqlDataSource>
                    </td>
                    <td class="style2">
                        <asp:TextBox ID="TextBox1" runat="server" Height="35px" Width="200px"></asp:TextBox>
                    </td>
                    <td class="style3" align="center">
                        <asp:Button ID="Button1" runat="server" Text="清除" Height="35px" Width="85px" />
                    </td>
                    <td class="style4" align="center">
                        <asp:Button ID="Button2" runat="server" Text="检索" Height="35px" 
                            onclick="Button2_Click" Width="85px" />
                    </td>
                </tr>
            </table>

            <asp:GridView ID="griview" runat="server" Height="450px" Width="1000px" 
                BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" 
                CellPadding="3" CellSpacing="2" HorizontalAlign="Center">
                <Columns>
                    <asp:TemplateField>
                        <AlternatingItemTemplate>
                            <asp:CheckBox ID="CheckBox1" runat="server" />
                        </AlternatingItemTemplate>
                        <EditItemTemplate>
                            <asp:CheckBox ID="CheckBox1" runat="server" />
                        </EditItemTemplate>
                        <FooterTemplate>
                            <asp:CheckBox ID="CheckBox1" runat="server" />
                        </FooterTemplate>
                        <ItemTemplate>
                            <asp:CheckBox ID="CheckBox1" runat="server" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
                <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
                <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
                <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" HorizontalAlign="Center" 
                    Width="100px" />
                <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
                <SortedAscendingCellStyle BackColor="#FFF1D4" />
                <SortedAscendingHeaderStyle BackColor="#B95C30" />
                <SortedDescendingCellStyle BackColor="#F1E5CE" />
                <SortedDescendingHeaderStyle BackColor="#93451F" />
            </asp:GridView>

            <br />
            <br />

        </div>
    </div>
        <p>
                            <asp:Button ID="Button4" runat="server" Text="借阅" 
            onclick="Button3_Click" />
                        </p>
    <p>
        &nbsp;</p>
    </form>
</body>
</html>
